#!/bin/bash
sudo pacman -S --needed wine-mono wine_gecko giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader lib32-gst-plugins-base lib32-gst-plugins-good gst-plugins-good gst-libav gst-plugins-bad gst-plugins-ugly gst-plugins-base lib32-gst-plugins-base libde265 steam-native-runtime steam lib32-sdl2 
sudo pacman -S otf-ipafont ttf-hanazono
mkdir -p /tmp/disk{1..2}
sudo mount "/home/h/Downloads/white_album/WA2_EE_1.iso" /tmp/disk1
sudo mount "/home/h/Downloads/white_album/WA2_EE_2.iso" /tmp/disk2
cd "$WINEPREFIX/dosdevices"
ln -s /tmp/disk1 d:
ln -s /tmp/disk2 e:
ln -s "/home/h/Downloads/white_album/WA2_EE_1.iso" d::
ln -s "/home/h/Downloads/white_album/WA2_EE_2.iso" e::
ln -s /tmp/disk1 x:
ln -s /tmp/disk2 y:
ln -s "/home/h/Downloads/white_album/WA2_EE_1.iso" x::
ln -s "/home/h/Downloads/white_album/WA2_EE_2.iso" y::
cd d:
# LANG=ja_JP.utf8 eatmydata wine setup.exe
LANG=ja_JP.utf8 wine setup.exe
LANG=ja_JP.utf8 wine AutoRun.exe
# wine setup.exe

yay -S --noconfirm dxvk-bin
setup_dxvk install
yay -S --noconfirm vkd3d-proton-bin
yay -S --noconfirm libspeedhack-git
setup_vkd3d_proton install
yay -S --noconfirm lib32-gst-libav lib32-gst-plugins-ugly lib32-gst-plugins-bad

- Open Regedit
- Go to HKEY_CURRENT_USER\Software\Wine\X11 Driver
- Create a new entry named "UseTakeFocus" with value "N"